<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>5-浮动-左右布局</title>
		<style type="text/css">
			.box{
				width:600px;
				height: 300px;
				border:1px solid red;
			}
			.box .pic{
				width: 200px;
				height:300px;
				/* 向左浮动 */
				float: left;
				background:blue;
			}
			.box .words{
				width: 200px;
				height:300px;
				/* 向右浮动 */
				float: right;
				background:orange;
			}
		</style>
	</head>
	<body>
		<div class="box">
			<div class="pic">左护法</div>
			<div class="words">右护法</div>
		</div>
	</body>
</html>
